;******************************************************************** ; * ; File: install.inf * ; * ; Description: This file controls the install process. * ; * ; Author: Scott Moses * ; Copyright (c) Altera Corporation 1993 * ; All rights reserved * ; * ; Date: 12/12/93 * ; * ;******************************************************************** [MACROS] ICON_NAME "MAX+plus II 6.0" SYS_PATH "c:\maxplus2" WRK_PATH "c:\max2work" W32S_VER "1.30.166.0" USER_FILES -x *.gdf -x *.tdf -x *.wdf -x *.prb -x *.smf -x *.vec \ -x *.cmd -x *.pof -x *.jed -x *.fit -x *.adf -x *.scf \ -x *.edf -x *.lmf -x *.edc [UNINSTALL] echo "Removing system files..." rm $(SYS_PATH)\*.* $(USER_FILES) -d rm $(SYS_PATH)\orcad.lmf echo "Removing lmf directory..." rm $(SYS_PATH)\lmf -rd echo "Removing edc directory..." rm $(SYS_PATH)\edc -rd echo "Removing max2inc directory..." rm $(SYS_PATH)\max2inc -rd echo "Removing max2lib\mf\flex8000 directory..." rm $(SYS_PATH)\max2lib\mf\flex8000 -rd echo "Removing max2lib\prim directory..." rm $(SYS_PATH)\max2lib\prim -rd echo "Removing max2lib\asf directory..." rm $(SYS_PATH)\max2lib\asf -rd echo "Removing max2lib\edif directory..." rm $(SYS_PATH)\max2lib\edif -rd echo "Removing max2lib\mf directory..." rm $(SYS_PATH)\max2lib\mf -rd echo "Removing max2lib\mega_lpm directory..." rm $(SYS_PATH)\max2lib\mega_lpm -rd echo "Removing max2lib directory..." rm $(SYS_PATH)\max2lib -rd echo "Removing max2vhdl directory..." rm $(SYS_PATH)\max2vhdl -rd echo "Removing drivers directory..." rm $(SYS_PATH)\drivers -rd [MAXPLUS2 : "MAX+plus II Installation Disk" ] echo "Copying files..." cp a.azp $(SYS_PATH)\. echo "Installing tutorial files..." @TUT cp ahdl.azp $(WRK_PATH)\ahdl @TUT cp vhdl.azp $(WRK_PATH)\vhdl @TUT cp chiptrip.azp $(WRK_PATH)\chiptrip @TUT cp tutorial.azp $(WRK_PATH)\tutorial @TUT echo "Copying Windows NT Drivers..." cp sentinel.azp $(SYS_PATH)\drivers\. cp senti386.azp $(SYS_PATH)\drivers\i386\. [HELP1 : "Help 1" ] echo "Copying first part of Help..." @HLP cp helpa.azp $(SYS_PATH)\maxplus2.hlp -f @HLP [HELP2 : "Help 2" ] echo "Copying second part of Help..." @HLP cp helpb.azp $(SYS_PATH)\maxplus2.hlp -fa @HLP [HELP3 : "Help 3" ] echo "Copying third part of Help..." @HLP cp helpc.azp $(SYS_PATH)\maxplus2.hlp -fa @HLP echo "Copying files..." cp a.azp $(SYS_PATH)\. echo "Installing Win32S files..." @W32S cp sysw32s.azp $(WIN_PATH)\. -v @W32S [COMP1 : "Compiler 1" ] echo "Copying Compiler files..." @CMP cp cg.azp $(SYS_PATH)\. @CMP [COMP2 : "Compiler 2" ] echo "Copying Compiler files..." @CLAS,MAX5,MAX7,FLX8,MAX9,CMP cp classic.azp $(SYS_PATH)\. @CLAS cp 5k.azp $(SYS_PATH)\. @MAX5 cp 7k.azp $(SYS_PATH)\. @MAX7 cp 8k.azp $(SYS_PATH)\. @FLX8 cp 9k.azp $(SYS_PATH)\. @MAX9 cp c.azp $(SYS_PATH)\. @CMP [COMP3 : "Compiler 3" ] echo "Copying Compiler files..." @MAX9 cp 9k.azp $(SYS_PATH)\. @MAX9 cp 10k.azp $(SYS_PATH)\. @FLX10 [COMP4 : "Compiler 4" ] echo "Copying Compiler files..." @FLX8 cp 8k.azp $(SYS_PATH)\. @FLX8 [COMP5 : "Compiler 5" ] echo "Copying Compiler files..." @CMP,SIM,TAN,FLX8 cp 8k.azp $(SYS_PATH)\. @FLX8 cp cmdline.azp $(SYS_PATH)\. @CMP,SIM,TAN [COMP6 : "Compiler 6" ] echo "Copying Compiler files..." @FLX8 cp 8k.azp $(SYS_PATH)\. @FLX8 [COMP7 : "Compiler 7" ] echo "Copying Compiler files..." @FLX10 cp 10k.azp $(SYS_PATH)\. @FLX10 [VHDL : "VHDL" ] echo "Copying VHDL files..." @VHDL cp vhdl.azp $(SYS_PATH)\. @VHDL cp vhdl_std.azp $(SYS_PATH)\max2vhdl\std\. @VHDL cp vhdl_alt.azp $(SYS_PATH)\max2vhdl\altera\. @VHDL cp vhdl_i3e.azp $(SYS_PATH)\max2vhdl\ieee\. @VHDL [MACRO : "Macrofunctions" ] echo "Copying macrofunctions..." @CMP,GED cp maxinc.azp $(SYS_PATH)\max2inc @CMP,GED cp symlib.azp $(SYS_PATH)\max2lib\prim @CMP,GED cp macrolib.azp $(SYS_PATH)\max2lib\mf @CMP,GED cp lpmlib.azp $(SYS_PATH)\max2lib\mega_lpm @CMP,GED cp edif.azp $(SYS_PATH)\max2lib\edif @CMP,GED echo "Preparing macrofunctions..." @CMP,GED echo -l 2 @CMP,GED chmod +r $(SYS_PATH)\max2lib\mf\*.gdf @CMP,GED chmod +r $(SYS_PATH)\max2lib\mega_lpm\*.tdf @CMP,GED chmod +r $(SYS_PATH)\max2lib\mega_lpm\*.gdf @CMP,GED chmod +r $(SYS_PATH)\max2lib\edif\*.gdf @CMP,GED [PROG : "Programmer" ] echo "Copying Programmer files..." @CMP,GED,PRG,SIM,WFE cp p.azp $(SYS_PATH)\. @PRG cp ps.azp $(SYS_PATH)\. @PRG,SIM cp psw.azp $(SYS_PATH)\. @PRG,SIM,WFE cp cgp.azp $(SYS_PATH)\. @CMP,GED,PRG cp cgps.azp $(SYS_PATH)\. @CMP,GED,PRG,SIM cp cgpsw.azp $(SYS_PATH)\. @CMP,GED,PRG,SIM,WFE cp classic.azp $(SYS_PATH)\. @CLAS cp flash.azp $(SYS_PATH)\. @FLSH cp 5k.azp $(SYS_PATH)\. @MAX5 cp 7k.azp $(SYS_PATH)\. @MAX7 cp 8k.azp $(SYS_PATH)\. @FLX8 cp 9k.azp $(SYS_PATH)\. @MAX9 cp 10k.azp $(SYS_PATH)\. @FLX10 [TOOLS : "Design Tools" ] echo "Copying design tools files..." @GED,SIM,TAN,WFE cp g.azp $(SYS_PATH)\. @GED cp s.azp $(SYS_PATH)\. @SIM cp t.azp $(SYS_PATH)\. @TAN cp w.azp $(SYS_PATH)\. @WFE cp lmf.azp $(SYS_PATH)\lmf @CMP cp edfinst.azp $(WRK_PATH)\edif @TUT echo "Copying Compiler files..." @FLX8 cp 8k.azp $(SYS_PATH)\. @FLX8 [UTIL : "Utilities" ] echo "Copying Win32S files..." @W32S cp w32sw32s.azp $(WIN_PATH)\win32s\. -v @W32S [END] ini $(SYS_PATH)\maxplus2.ini FULL_VERSION off ini $(SYS_PATH)\maxplus2.ini MAXPLUS_LIB \ "$(SYS_PATH)\max2lib\prim;" \ "$(SYS_PATH)\max2lib\mf;" \ "$(SYS_PATH)\max2lib\mega_lpm;" \ "$(SYS_PATH)\max2inc;" \ "$(SYS_PATH)\max2lib\edif;" @CMP,GED